package com.ruoyi.project.xkx.student.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.project.xkx.student.domain.Adviser;
import com.ruoyi.project.xkx.student.mapper.AdviserMapper;
import com.ruoyi.project.xkx.student.service.AdviserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class AdviserServiceImpl extends ServiceImpl<AdviserMapper, Adviser> implements AdviserService {

    @Autowired
    private AdviserMapper adviserMapper;


    @Override
    public List<Adviser> getAdviser(Integer schoolId) {
        return adviserMapper.getAdviser(schoolId);
    }

    @Override
    public List<Adviser> getAllAdviser() {
        return adviserMapper.getAllAdviser();
    }
}
